set ROOTDIR=%~dp0
set SEVENZIPDIR=_Prerequisites\7zip
set MONGOBINARIESDIRECTORY=_Prerequisites\mongoDB
set MONGOZIPARCHIVE=mongodb.7z
set MONGOINSTALLDIR=C:\MONGODB

%SEVENZIPDIR%\7za.exe x -y %ROOTDIR%%MONGOBINARIESDIRECTORY%\%MONGOZIPARCHIVE% -o%MONGOINSTALLDIR%

mkdir C:\DATA
mkdir C:\DATA\DB
mkdir %MONGOINSTALLDIR%\LOGS

cd %MONGOINSTALLDIR%\bin

mongod.exe --install --noauth --logpath "%MONGOINSTALLDIR%\LOGS\mongologfile.txt" --dbpath "C:\DATA\DB"

net start "Mongo DB"